/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lolbuilder.masteries.offensive;

import lolbuilder.masteries.MasteriesBonusCounter;
import lolbuilder.masteries.MasteriesTreeWalker;
import lolbuilder.masteries.MasteryTreeNode;

/**
 *
 * @author chocoboSan
 */
public class Executioner extends MasteryTreeNode {

    @Override
    public boolean isAccessible(MasteriesTreeWalker mtw) {
        if (mtw.PointsInOff>=20) return true;
        return false;
    }

    @Override
    public int getMaxCost() {
        return 1;
    }

    @Override
    public void applyBonus(MasteriesBonusCounter mbc) {
        mbc.percentMoreDamage+=nbPointsInside*3;
    }
    
}
